#ifndef CLOCKFORM_H
#define CLOCKFORM_H

#include <QWidget>

namespace Ui {
    class clockform;
}

class clockform : public QWidget
{
    Q_OBJECT

public:
    explicit clockform(QWidget *parent = 0);
    ~clockform();

    int getCurrentClock();
    void setCurrentClock(int clock);
    int MovePoint(int step);

private:
    Ui::clockform *ui;

    int x_start,y_start,x_end,y_end;

protected:
    void paintEvent(QPaintEvent *event);
};

#endif // CLOCKFORM_H
